﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

using HighDivePrinter.Model;
using HighDivePrinter.Presenter;
using HighDivePrinter.Properties;
using HighDivePrinter.View;
using System.Windows.Forms;

namespace HighDivePrinter
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new Form1());
            
            
          //Diver and Dive Classes  
            FormMain form = new FormMain();
            PersonList divers = new PersonList();
            DiveList dv = new DiveList();

            PresenterFormMain presenter = new PresenterFormMain(form, divers, dv);

            Application.Run(form); 
        
            
    /*      // Contest class                                                                     
            
            FormContest formcon = new FormContest();
            ContestList cl = new ContestList();

            PresenterFormContest present = new PresenterFormContest(formcon, cl);
            Application.Run(formcon);
           */

      /*     //Judge class 
            FormJudge formjud = new FormJudge();
            JudgeList jl = new JudgeList();
           
            PresenterFormJudge present = new PresenterFormJudge(formjud, jl);
            Application.Run(formjud); 
         */
           
        }
    }
}
